#ifndef REGISTERUSERDIALOG_H
#define REGISTERUSERDIALOG_H

#include "flowcontroler.h"
#include <QDialog>

namespace Ui {
class RegisterUserDialog;
}

class RegisterUserDialog : public QDialog
{
    Q_OBJECT

public:
    explicit RegisterUserDialog(QWidget *parent = nullptr);
    ~RegisterUserDialog();

    void setUser(Core::User &user);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::RegisterUserDialog *ui;
    bool isEdit{false};
    Core::User m_editUser;
};

#endif // REGISTERUSERDIALOG_H
